//统计报表主页面
import Report from './index.vue';

//库存
import Stock from './stock.vue';
//库存-库存台账
import Check from './check.vue';
//库存-盘点表
import Inventory from './inventory.vue';

//进货
import Purchase from './purchase.vue';
//进货-进货明细
import PurchaseInfo from './purchase-info.vue';
//进货-预售合同
import Agreement from './agreement.vue';

//销售
import Sales from './sales.vue';
// 销售明细表
import SalesInfo from './sales-info.vue';
//  利润表
import Profit from './profit.vue';

export default {
    name:"report",
    path:"report",
    component:Report,
    meta:{
        title:"报表管理",
        menu:"报表管理"
    },
    children:[
        {
            name:"check",
            path:"",
            component:Check,
            alias:"stock/stock-info"
        },
        {
            name:"inventory",
            path:"stock/inventory",
            component:Inventory,
        },
        {
            name:"purchase",
            path:"purchase/purchase-info",
            component:PurchaseInfo,
        },
        {
            name:"agreement",
            path:"purchase/agreement",
            component:Agreement,
        },
        {
            name:"purchase",
            path:"sales/sales-info",
            component:SalesInfo,
        },
        {
            name:"agreement",
            path:"sales/profix",
            component:Profit,
        }
    ]
}